package com.zxw.user.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotEmpty;

/**
 * @projectName: erp-cloud
 * @package: com.zxw.user.domain.vo
 * @className: UserUpPassVO
 * @author: zhangxuewei
 * @description: 更新密码vo
 * @date: 2023/8/1 10:40
 * @version: 1.0
 */
@Data
public class UserUpPassVO {

    @NotEmpty(message = "原密码不能为空！")
    @ApiModelProperty("原密码")
    private String password;

    @NotEmpty(message = "新密码不能为空！")
    @ApiModelProperty("新密码")
    private String newPassword;

    @NotEmpty(message = "确认密码不能为空！")
    @ApiModelProperty("确认密码")
    private String checkNewPassword;
}
